package com.zhuiyun.project.api.trainingTime.service;
import com.zhuiyun.project.api.trainingTime.model.TrainingTimeModel;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
/**
 * @author huhaifei
 * @date 2023/12/11 - 14:43
 *  TODO 教练端-我的时间安排
 */
public interface TrainingDateService {

    /**
    * @Author fei
    * @Description 添加上课时间
    * @Date 2023/12/12 19:01
    * @Return com.zhuiyun.project.common.response.CommonResult
    * @param trainingTimeModel
    */
    CommonResult saveTrainingTime(TrainingTimeModel trainingTimeModel) throws CommonException;

    /**
    * @Author fei
    * @Description 修改上课时间
    * @Date 2023/12/12 19:01
    * @Return com.zhuiyun.project.common.response.CommonResult
    * @param trainingTimeModel
    */
    CommonResult updateTrainingTime(TrainingTimeModel trainingTimeModel) throws CommonException;

    /**
    * @Author fei
    * @Description 删除上课时间
    * @Date 2023/12/12 19:01
    * @Return com.zhuiyun.project.common.response.CommonResult
    * @param id
    * @param coachId
    */
    CommonResult deleteTrainingTime(Integer id, Integer coachId);
}
